package com.fzn.yygh.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fzn.yygh.model.user.UserInfo;
import com.fzn.yygh.vo.user.LoginVo;

import java.util.Map;

/**
 * @author fzn
 * @date 2022/5/10
 * @apiNote
 */
public interface UserInfoService extends IService<UserInfo> {

    //会员登录
    Map<String, Object> login(LoginVo loginVo);

    /**
     * 根据微信openid获取用户信息
     * @param openid
     * @return
     */
    UserInfo getByOpenid(String openid);

}
